package c.i.b.b.a;

import android.net.wifi.ScanResult;
import java.util.Comparator;

public class d implements Comparator<Object> {
    public final int compare(Object obj, Object obj2) {
        int abs = Math.abs(((ScanResult) obj).level);
        int abs2 = Math.abs(((ScanResult) obj2).level);
        return abs > abs2 ? 1 : abs == abs2 ? 0 : -1;
    }
}
